#!/bin/bash

printf "Starting auto run"

bash ./cb-helper download_code || exit 1
bash ./cb-helper build_utils || exit 1
bash ./cb-helper split_bios || exit 1
bash ./cb-helper neuter_me || exit 1
bash ./cb-helper pre_build_coreboot || exit 1
bash ./cb-helper build_coreboot || exit 1
bash ./cb-helper build_grub || exit 1
bash ./cb-helper assemble_grub || exit 1
bash ./cb-helper config_seabios || exit 1
bash ./cb-helper install_grub || exit 1

printf "Auto run finished successfully"
